<!-- <! [CDATA [
function incarcare_imagini() {
	var vector_imagini = new Array("buton","buton_over","buton_down","buton_mare","buton_mare_over","buton_mare_down","but_harta_dreapta_over","but_harta_jos_over","but_harta_stanga_over","but_harta_sus_over","but_inchidere_down","but_inchidere_over","land0","land1","land2","land3","tab","tab2","tab3","tab4","tab5","tab6");
	for (i = 0; i < vector_imagini.length; i++) {
		eval(vector_imagini[i]+" = new Image");
		eval(vector_imagini[i]+".src = 'img/"+vector_imagini[i]+".gif'");
	}
}

function animatie_but(id, mod, img) {
	switch(mod) {
		case 0:
		 document.getElementById(id).style.backgroundImage = "url('img/"+img+".gif')";
		 document.getElementById(id).style.color = "white";
		break;
		case 1:
		 document.getElementById(id).style.backgroundImage = "url('img/"+img+"_over.gif')";
		break;
		case 2:
		 document.getElementById(id).style.backgroundImage = "url('img/"+img+"_down.gif')";
		 document.getElementById(id).style.color = "gray";
		break;
		default:
		 fereastra("GANDAC: butoane.js -  animatie_but() function");
		break;
	}
}

function animatie_but2(id, mod, img) {
	switch(mod) {
		case 0:
		 document.getElementById(id).src = "img/"+img+".gif";
		break;
		case 1:
		 document.getElementById(id).src = "img/"+img+"_over.gif";
		break;
		case 2:
		 document.getElementById(id).src = "img/"+img+"_down.gif";
		break;
		default:
		 fereastra("GANDAC: butoane.js -  animatie_but2() function");
		break;
	}
}
// ]]> -->